package com.edusci.backend.utils;

public class CourseUtil {

    public String Corresponding(int id){
        String subject;
        switch (id){
            case 1:
                subject = "物理";
                break;
            case 2:
                subject = "化学";
                break;
            case 3:
                subject = "数学";
                break;
            case 4:
                subject = "地球科学";
                break;
            case 5:
                subject = "生物";
                break;
            default:
                subject = "未知";
        }
        return subject;
    }
}
